<!DOCTYPE html>
<html>

<head>
<meta charset="UTF-8">

<title> 提交记录 9723 - Judge Duck Online </title>

<link rel="icon" type="image/png" href="/images/judgeduck-logo-small.png" />

<script src="/libs/js/jquery-3.2.1.min.js"></script>

<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="/libs/css/bootstrap.min.css" />

<!-- Latest compiled and minified JavaScript -->
<script src="/libs/js/bootstrap.min.js"></script>

<link rel="stylesheet" type="text/css" href="/css/main.css" />
<link rel="stylesheet" href="/css/non-responsive.css" type="text/css" />

<script src="/js/md5.js"></script>
<script src="/js/judgeduck.js"></script>

<script type="text/x-mathjax-config">
	MathJax.Hub.Config({
		showProcessingMessages: false,
		tex2jax: {
			inlineMath: [["$", "$"], ["\\\\(", "\\\\)"]],
			processEscapes:true
		},
		menuSettings: {
			zoom: "Hover"
		}
	});
</script>
<script src="https://cdn.jsdelivr.net/npm/mathjax@2.7.1/MathJax.js?config=TeX-AMS_HTML"></script>

<link rel="stylesheet" href="https://cdn.jsdelivr.net/simplemde/latest/simplemde.min.css">
<script src="https://cdn.jsdelivr.net/simplemde/latest/simplemde.min.js"></script>

</head>

<body onload="">

<!-- Fixed navbar -->
<nav class="navbar navbar-default" role="navigation" style="background-color: #eeeeee">
	<div class="container">
		<div class="navbar-header">
			<div class="navbar-brand">
				<a href="/">
					<img src="/images/judgeduck-logo.png" width="40px" height="40px" style="margin:-10px" />
				</a>
			</div>
			<font class="navbar-brand">
				Judge Duck Online
			</font>
		</div>
		<div class="navbar-collapse collapse">
			<ul class="nav navbar-nav">
				<li class="nav-item">
					<a class="nav-link" href="/index/index.html"> 首页 </a>
				</li>
				<li class="nav-item">
					<a class="nav-link" href="/problems/index.html"> 题目列表 </a>
				</li>
				<li class="nav-item">
					<a class="nav-link" href="/submissions/index.html"> 提交记录 </a>
				</li>
				<li class="nav-item">
					<a class="nav-link" href="/blogs/index.html"> 博客 </a>
				</li>
				<li class="nav-item">
					<a class="nav-link" href="/faq/index.html"> FAQ </a>
				</li>
			</ul>
			<ul class="nav navbar-nav navbar-right">
				<li class="nav-item">
					<a class="nav-link" href="/user/login/index.html"> 登录 </a>
				</li>
				<li class="nav-item">
					<a class="nav-link" href="/user/register/index.html"> 注册 </a>
				</li>
			</ul>
		</div><!--/.nav-collapse -->
	</div>
</nav>




<div id="main_div" class="container" style="padding-left: 25px; padding-right: 25px">
	<h2> 提交记录 9723 </h2>
	<hr />
	
	<div class="row">
		<div class="col-xs-12">
			<table class="table table-bordered">
				<tr>
					<th class="col-xs-2"> 用户 </th>
					<th class="col-xs-3"> 题目 </th>
					<th class="col-xs-2"> 状态 </th>
					<th class="col-xs-1"> 得分 </th>
					<th class="col-xs-1"> 用时 </th>
					<th class="col-xs-1"> 内存 </th>
					<th class="col-xs-1"> 语言 </th>
					<th class="col-xs-1"> 代码长度 </th>
				</tr>
				<tr>
					<td style='font-size:13px'> <a href='/user/profile/uniqriv/index.html'> uniqriv </a> </td>
<td> <a href='/problem/noip18f/index.html'> noip18f. 【NOIP2018】保卫王国 </a> </td>
<td> Accepted </td>
<td> 100 </td>
<td style='font-size:13px'> 214.822 ms </td>
<td style='font-size:13px'> 87 MB + 124 KB </td>
<td style='font-size:13px'> C++11 </td>
<td style='font-size:13px'> 5.41 KB </td>
				</tr>
			</table>
			<table class="table table-bordered">
				<tr>
					<th class="col-xs-6"> 提交时间 </th>
					<th class="col-xs-6"> 评测时间 </th>
				</tr>
				<tr>
					<td style='font-size:13px'> 2019-07-07 14:20:04 </td>
<td style='font-size:13px'> 2019-07-07 14:20:23 </td>
				</tr>
			</table>
			<link rel="stylesheet" href="//cdn.jsdelivr.net/gh/highlightjs/cdn-release@9.12.0/build/styles/tomorrow.min.css">
			<script src="//cdn.jsdelivr.net/gh/highlightjs/cdn-release@9.12.0/build/highlight.min.js"></script>
			<script>hljs.initHighlightingOnLoad();</script>
			<div class="row">
				<label for="code"> 代码 </label>
				<pre style="background-color:white"><code class="cpp">#include &lt;iostream&gt;
#include &lt;string.h&gt;
#include &lt;stdio.h&gt;
#include &lt;math.h&gt;
#include &lt;algorithm&gt;
#include &lt;vector&gt;
using namespace std;
typedef long long LL;
const int inf=0x3f3f3f3f;
const int MAX=1e5+10;
const LL llinf=(1ll&lt;&lt;55);
class Tree{
    int fir[MAX],stt[20][MAX*2],lg2[MAX*2],tail;
    void dfs(int now,int fa){
        dep[now]=(~fa)?dep[fa]+1:1;
        fir[now]=tail,stt[0][tail++]=now;
        for(int i=head[now];~i;i=e[i].nxt){
            int to=e[i].to;
            if(to==fa)continue;
            dfs(to,now),stt[0][tail++]=now;
        }
    }
    public:
    struct Edge{int to,nxt;}e[MAX*2];
    int head[MAX],m;
    int dep[MAX];
    void reset(){
        memset(head,-1,sizeof(head));m=0;
    }
    Tree(){reset();}
    void addedge(int fr,int to){e[m].to=to,e[m].nxt=head[fr],head[fr]=m++;}
    void addtwo(int u,int v){
        addedge(u,v),addedge(v,u);
    }
    inline int shallower(int u,int v){return (dep[u]&lt;dep[v])?u:v;}
    void prework(int rt){
        tail=0;
        dfs(rt,-1);
        lg2[1]=0;for(int i=2;i&lt;tail;++i)lg2[i]=lg2[i/2]+1;
        for(int i=1;(1&lt;&lt;i)&lt;tail;++i){
            for(int j=0;j+(1&lt;&lt;i)&lt;tail;++j){
                stt[i][j]=shallower(stt[i-1][j],stt[i-1][j+(1&lt;&lt;(i-1))]);
            }
        }
    }
    int lca(int u,int v){
        if(fir[u]&gt;fir[v])swap(u,v);
        int i=lg2[fir[v]-fir[u]+1];
        return shallower(stt[i][fir[u]],stt[i][fir[v]-(1&lt;&lt;i)+1]);
    }
};
Tree tr;
int n,m;
LL val[MAX],all;
LL up[MAX][2],down[MAX][2],sum[20][MAX][2][2];
int anc[20][MAX];
void getdown(int now,int fa){
    anc[0][now]=fa;
    down[now][0]=0,down[now][1]=val[now];
    for(int i=tr.head[now];~i;i=tr.e[i].nxt){
        int to=tr.e[i].to;
        if(to==fa)continue;
        getdown(to,now);
        down[now][0]+=down[to][1],down[now][1]+=min(down[to][0],down[to][1]);
    }
}
void getup(int now,int fa){
    for(int i=tr.head[now];~i;i=tr.e[i].nxt){
        int to=tr.e[i].to;
        if(to==fa)continue;
        up[to][0]=up[now][1]+down[now][0]-down[to][1];
        up[to][1]=min(up[now][0],up[now][1])+down[now][1]-min(down[to][0],down[to][1]);
        getup(to,now);
    }
}
void binadd(){
    for(int i=1;i&lt;=n;++i){
        sum[0][i][0][1]=sum[0][i][1][1]=down[anc[0][i]][1]-min(down[i][0],down[i][1]);
        sum[0][i][1][0]=down[anc[0][i]][0]-down[i][1];
        sum[0][i][0][0]=llinf;
    }
    for(int i=1;(1&lt;&lt;i)&lt;=n;++i){
        for(int j=1;j&lt;=n;++j){
            anc[i][j]=anc[i-1][anc[i-1][j]];
            for(int k=0;k&lt;2;++k){
                for(int l=0;l&lt;2;++l){
                    int en=anc[i-1][j];
                    sum[i][j][k][l]=min(sum[i-1][j][k][0]+sum[i-1][en][0][l],sum[i-1][j][k][1]+sum[i-1][en][1][l]);
                }
            }
        }
    }
}
int goup(int now,int k){
    for(int i=0;(1&lt;&lt;i)&lt;=k;++i){
        if((1&lt;&lt;i)&amp;k)now=anc[i][now];
    }
    return now;
}
LL path(int now,bool x,int en,bool y){
    if(tr.dep[now]&lt;tr.dep[en])swap(now,en),swap(x,y);
    int k=tr.dep[now]-tr.dep[en];
    if(now==en){
        if(x!=y)return llinf;
        return 0;
    }
    LL ret[2];
    ret[0]=ret[1]=0;
    for(int i=0;(1&lt;&lt;i)&lt;=k;++i){
        if((1&lt;&lt;i)&amp;k){
            if(ret[0]==0&amp;&amp;ret[1]==0){
                ret[0]=sum[i][now][x][0],ret[1]=sum[i][now][x][1];
            }
            else{ 
                LL tmp[2];
                tmp[0]=ret[0],tmp[1]=ret[1];
                ret[0]=min(tmp[0]+sum[i][now][0][0],tmp[1]+sum[i][now][1][0]);
                ret[1]=min(tmp[0]+sum[i][now][0][1],tmp[1]+sum[i][now][1][1]);
            }
            now=anc[i][now];
        }
    }
    return ret[y];
}
LL ans(int u,bool x,int v,bool y){
    int lca=tr.lca(u,v);
    if(lca==u||lca==v){
        if(lca==u)swap(u,v),swap(x,y);
        return path(u,x,v,y)+down[u][x]+((y==0)?up[v][1]:min(up[v][0],up[v][1]));
    }
    int enu=goup(u,tr.dep[u]-tr.dep[lca]-1),env=goup(v,tr.dep[v]-tr.dep[lca]-1);
    LL ret=llinf;
    if((enu!=u||x==1)&amp;&amp;(env!=v||y==1)){
        ret=up[lca][1]+down[lca][0]-down[enu][1]-down[env][1]+down[u][x]+down[v][y]+path(u,x,enu,1)+path(v,y,env,1);
    }
    LL tmp=min(up[lca][0],up[lca][1])+down[u][x]+down[v][y]+down[lca][1]-min(down[enu][0],down[enu][1])-min(down[env][0],down[env][1]);
    for(int i=0;i&lt;2;++i){
        for(int j=0;j&lt;2;++j){
            ret=min(ret,tmp+path(u,x,enu,i)+path(v,y,env,j));
        }
    }
    return ret;
}
void init(){
    all=0;
    up[0][0]=up[0][1]=down[0][0]=down[0][1]=llinf;
}
namespace n2{
    LL dp[MAX][2];
    void dfs(int now,int fa){
        if(dp[now][1]==0)dp[now][1]=val[now];
        for(int i=tr.head[now];~i;i=tr.e[i].nxt){
            int to=tr.e[i].to;
            if(to==fa)continue;
            dfs(to,now);
            dp[now][0]+=dp[to][1];
            dp[now][1]+=min(dp[to][0],dp[to][1]);
        }
    }
    LL ans(int u,bool x,int v,bool y){
        memset(dp,0,sizeof(dp));
        dp[u][!x]=dp[v][!y]=llinf;
        dfs(1,0);
        LL ret=min(dp[1][0],dp[1][1]);
        if(ret&gt;all)ret=-1;
        return ret;
    }
}
int main(){
    char ty[10];
    scanf(&quot;%d%d%s&quot;,&amp;n,&amp;m,ty);
    init();
    for(int i=1;i&lt;=n;++i)scanf(&quot;%lld&quot;,&amp;val[i]),all+=val[i];
    for(int i=1;i&lt;n;++i){
        int u,v;
        scanf(&quot;%d%d&quot;,&amp;u,&amp;v);
        tr.addtwo(u,v);
    }
    tr.prework(1);
    getdown(1,0),getup(1,0);
    binadd();
    for(int i=1;i&lt;=m;++i){
        int u,x,v,y;
        scanf(&quot;%d%d%d%d&quot;,&amp;u,&amp;x,&amp;v,&amp;y);
        LL tmp=ans(u,x,v,y);
        if(tmp&gt;all)tmp=-1;
        printf(&quot;%lld\n&quot;,tmp);
        //printf(&quot;%lld\n&quot;,n2::ans(u,x,v,y));
    }
    return 0;
}</code></pre>
				<br />
				
				<label for="result"> 评测结果 </label><div class="row"><div class="col-xs-12"><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Compilation</b></td><td class="col-xs-2" style="vertical-align:middle">N/A</td><td class="col-xs-2" style="vertical-align:middle">N/A</td><td class="col-xs-2" style="vertical-align:middle">Compile OK</td><td class="col-xs-2" style="vertical-align:middle">Score: N/A</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_1" aria-expanded="false" aria-controls="detail_1">显示更多</a></td></tr></table></div><div class="collapse" id="detail_1"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>Compiling...
Compile success!
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #1</b></td><td class="col-xs-2" style="vertical-align:middle">83.96 us</td><td class="col-xs-2" style="vertical-align:middle">532 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 4</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_2" aria-expanded="false" aria-controls="detail_2">显示更多</a></td></tr></table></div><div class="collapse" id="detail_2"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 0.083963
mem_kb = 532
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #2</b></td><td class="col-xs-2" style="vertical-align:middle">81.24 us</td><td class="col-xs-2" style="vertical-align:middle">532 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 4</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_3" aria-expanded="false" aria-controls="detail_3">显示更多</a></td></tr></table></div><div class="collapse" id="detail_3"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 0.081236
mem_kb = 532
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #3</b></td><td class="col-xs-2" style="vertical-align:middle">83.83 us</td><td class="col-xs-2" style="vertical-align:middle">532 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 4</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_4" aria-expanded="false" aria-controls="detail_4">显示更多</a></td></tr></table></div><div class="collapse" id="detail_4"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 0.083829
mem_kb = 532
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #4</b></td><td class="col-xs-2" style="vertical-align:middle">83.75 us</td><td class="col-xs-2" style="vertical-align:middle">532 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 4</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_5" aria-expanded="false" aria-controls="detail_5">显示更多</a></td></tr></table></div><div class="collapse" id="detail_5"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 0.083752
mem_kb = 532
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #5</b></td><td class="col-xs-2" style="vertical-align:middle">154.77 us</td><td class="col-xs-2" style="vertical-align:middle">616 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 4</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_6" aria-expanded="false" aria-controls="detail_6">显示更多</a></td></tr></table></div><div class="collapse" id="detail_6"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 0.154768
mem_kb = 616
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #6</b></td><td class="col-xs-2" style="vertical-align:middle">152.75 us</td><td class="col-xs-2" style="vertical-align:middle">616 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 4</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_7" aria-expanded="false" aria-controls="detail_7">显示更多</a></td></tr></table></div><div class="collapse" id="detail_7"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 0.152747
mem_kb = 616
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #7</b></td><td class="col-xs-2" style="vertical-align:middle">172.25 us</td><td class="col-xs-2" style="vertical-align:middle">612 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 4</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_8" aria-expanded="false" aria-controls="detail_8">显示更多</a></td></tr></table></div><div class="collapse" id="detail_8"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 0.172255
mem_kb = 612
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #8</b></td><td class="col-xs-2" style="vertical-align:middle">1.933 ms</td><td class="col-xs-2" style="vertical-align:middle">1 MB + 848 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 4</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_9" aria-expanded="false" aria-controls="detail_9">显示更多</a></td></tr></table></div><div class="collapse" id="detail_9"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 1.933051
mem_kb = 1872
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #9</b></td><td class="col-xs-2" style="vertical-align:middle">1.917 ms</td><td class="col-xs-2" style="vertical-align:middle">1 MB + 848 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 4</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_10" aria-expanded="false" aria-controls="detail_10">显示更多</a></td></tr></table></div><div class="collapse" id="detail_10"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 1.916749
mem_kb = 1872
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #10</b></td><td class="col-xs-2" style="vertical-align:middle">2.384 ms</td><td class="col-xs-2" style="vertical-align:middle">1 MB + 760 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 4</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_11" aria-expanded="false" aria-controls="detail_11">显示更多</a></td></tr></table></div><div class="collapse" id="detail_11"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 2.384192
mem_kb = 1784
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #11</b></td><td class="col-xs-2" style="vertical-align:middle">2.36 ms</td><td class="col-xs-2" style="vertical-align:middle">1 MB + 760 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 4</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_12" aria-expanded="false" aria-controls="detail_12">显示更多</a></td></tr></table></div><div class="collapse" id="detail_12"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 2.359884
mem_kb = 1784
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #12</b></td><td class="col-xs-2" style="vertical-align:middle">155.293 ms</td><td class="col-xs-2" style="vertical-align:middle">87 MB + 124 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 4</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_13" aria-expanded="false" aria-controls="detail_13">显示更多</a></td></tr></table></div><div class="collapse" id="detail_13"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 155.292974
mem_kb = 89212
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #13</b></td><td class="col-xs-2" style="vertical-align:middle">155.525 ms</td><td class="col-xs-2" style="vertical-align:middle">87 MB + 124 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 4</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_14" aria-expanded="false" aria-controls="detail_14">显示更多</a></td></tr></table></div><div class="collapse" id="detail_14"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 155.525401
mem_kb = 89212
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #14</b></td><td class="col-xs-2" style="vertical-align:middle">108.562 ms</td><td class="col-xs-2" style="vertical-align:middle">86 MB + 952 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 4</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_15" aria-expanded="false" aria-controls="detail_15">显示更多</a></td></tr></table></div><div class="collapse" id="detail_15"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 108.562257
mem_kb = 89016
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #15</b></td><td class="col-xs-2" style="vertical-align:middle">108.564 ms</td><td class="col-xs-2" style="vertical-align:middle">86 MB + 956 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 4</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_16" aria-expanded="false" aria-controls="detail_16">显示更多</a></td></tr></table></div><div class="collapse" id="detail_16"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 108.564351
mem_kb = 89020
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #16</b></td><td class="col-xs-2" style="vertical-align:middle">108.548 ms</td><td class="col-xs-2" style="vertical-align:middle">86 MB + 956 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 4</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_17" aria-expanded="false" aria-controls="detail_17">显示更多</a></td></tr></table></div><div class="collapse" id="detail_17"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 108.547530
mem_kb = 89020
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #17</b></td><td class="col-xs-2" style="vertical-align:middle">186.788 ms</td><td class="col-xs-2" style="vertical-align:middle">87 MB + 124 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 4</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_18" aria-expanded="false" aria-controls="detail_18">显示更多</a></td></tr></table></div><div class="collapse" id="detail_18"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 186.788082
mem_kb = 89212
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #18</b></td><td class="col-xs-2" style="vertical-align:middle">134.772 ms</td><td class="col-xs-2" style="vertical-align:middle">79 MB + 504 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 4</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_19" aria-expanded="false" aria-controls="detail_19">显示更多</a></td></tr></table></div><div class="collapse" id="detail_19"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 134.772050
mem_kb = 81400
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #19</b></td><td class="col-xs-2" style="vertical-align:middle">133.813 ms</td><td class="col-xs-2" style="vertical-align:middle">79 MB + 504 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 4</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_20" aria-expanded="false" aria-controls="detail_20">显示更多</a></td></tr></table></div><div class="collapse" id="detail_20"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 133.812854
mem_kb = 81400
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #20</b></td><td class="col-xs-2" style="vertical-align:middle">146.634 ms</td><td class="col-xs-2" style="vertical-align:middle">82 MB + 948 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 4</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_21" aria-expanded="false" aria-controls="detail_21">显示更多</a></td></tr></table></div><div class="collapse" id="detail_21"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 146.634198
mem_kb = 84916
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #21</b></td><td class="col-xs-2" style="vertical-align:middle">147.099 ms</td><td class="col-xs-2" style="vertical-align:middle">82 MB + 948 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 4</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_22" aria-expanded="false" aria-controls="detail_22">显示更多</a></td></tr></table></div><div class="collapse" id="detail_22"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 147.099487
mem_kb = 84916
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #22</b></td><td class="col-xs-2" style="vertical-align:middle">110.828 ms</td><td class="col-xs-2" style="vertical-align:middle">82 MB + 752 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 4</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_23" aria-expanded="false" aria-controls="detail_23">显示更多</a></td></tr></table></div><div class="collapse" id="detail_23"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 110.828257
mem_kb = 84720
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #23</b></td><td class="col-xs-2" style="vertical-align:middle">214.822 ms</td><td class="col-xs-2" style="vertical-align:middle">82 MB + 944 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 4</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_24" aria-expanded="false" aria-controls="detail_24">显示更多</a></td></tr></table></div><div class="collapse" id="detail_24"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 214.822161
mem_kb = 84912
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #24</b></td><td class="col-xs-2" style="vertical-align:middle">214.014 ms</td><td class="col-xs-2" style="vertical-align:middle">82 MB + 948 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 4</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_25" aria-expanded="false" aria-controls="detail_25">显示更多</a></td></tr></table></div><div class="collapse" id="detail_25"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 214.014401
mem_kb = 84916
Correct Answer
</textarea></div></div><div class="alert alert-success"><div class="text-center row"><table class="table table-borderless" style="margin:0px"><tr><td class="col-xs-2" style="vertical-align:middle;padding-left:20px;padding-right:20px"><b>Testcase #25</b></td><td class="col-xs-2" style="vertical-align:middle">214.773 ms</td><td class="col-xs-2" style="vertical-align:middle">82 MB + 960 KB</td><td class="col-xs-2" style="vertical-align:middle">Accepted</td><td class="col-xs-2" style="vertical-align:middle">Score: 4</td><td class="col-xs-2" style="vertical-align:middle"><a data-toggle="collapse" href="#detail_2" aria-expanded="false" aria-controls="detail_2">显示更多</a>
<a class="d1b9c71043ef4cab971f8c083438630e" href="http://www.iis7.com" target="_blank" style="display:inline-block;background-color:;color:#fff;padding:2px 5px;font-family:arial;font-size:12px;font-weight:bold;">iis7站长之家</a></td></tr></table></div><div class="collapse" id="detail_26"><br /><textarea class="form-control" style="background-color: white" rows="8" readonly>verdict = Run Finished
time_ms = 214.773412
mem_kb = 84928
Correct Answer
</textarea></div></div></div></div>
			</div>
		</div>
	</div>

	<hr />
	
	<div class="row">
		<p style="text-align: center; color: #888">
			Judge Duck Online | 评测鸭在线 <br />
			Server Time: 2019-08-02 17:18:16 | Loaded in 1 ms | <a href="/status/index.html"> Server Status </a> <br />
			个人娱乐项目，仅供学习交流使用
		</p>
	</div>
</div>

</body>

</html>
